package com.zb.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author WEN
 * @Date 2024/1/24 0024
 **/
@Data
@ApiModel("仓库类型下拉对象")
public class SelectStoreTypeVo extends SelectResultVo{
    @ApiModelProperty(value = "是默认为工单配件出库类型：false-否，true-是")
    private Boolean outStoreOrderSpareType;

    @ApiModelProperty(value = "是默认为工单配件入库类型：false-否，true-是")
    private Boolean inStoreOrderSpareType;

    public SelectStoreTypeVo() {
    }

    public SelectStoreTypeVo(Long id, String name) {
        super(id, name);
    }

    public SelectStoreTypeVo(Long id, String name, boolean select) {
        super(id, name, select);
    }

    public SelectStoreTypeVo(Boolean outStoreOrderSpareType, Boolean inStoreOrderSpareType) {
        this.outStoreOrderSpareType = outStoreOrderSpareType;
        this.inStoreOrderSpareType = inStoreOrderSpareType;
    }

    public SelectStoreTypeVo(Long id, String name, Boolean outStoreOrderSpareType, Boolean inStoreOrderSpareType) {
        super(id, name);
        this.outStoreOrderSpareType = outStoreOrderSpareType;
        this.inStoreOrderSpareType = inStoreOrderSpareType;
    }

    public SelectStoreTypeVo(Long id, String name, boolean select, Boolean outStoreOrderSpareType, Boolean inStoreOrderSpareType) {
        super(id, name, select);
        this.outStoreOrderSpareType = outStoreOrderSpareType;
        this.inStoreOrderSpareType = inStoreOrderSpareType;
    }
}
